package com.gameapplet.user.model;


import org.springframework.stereotype.Component;

@Component
public class User {
    private String openid;
    private String nickname;
    private int sex;
    private  String headURL;
    private  String city;
    private String province;
    private String country;
    private int  currentstage;
    private int  maxstage;
    private  String opengid;

    public String getOpengid() {
        return opengid;
    }

    public void setOpengid(String opengid) {
        this.opengid = opengid;
    }

    public int getCurrentstage() {
        return currentstage;
    }

    public void setCurrentstage(int currentstage) {
        this.currentstage = currentstage;
    }

    public int getMaxstage() {
        return maxstage;
    }

    public void setMaxstage(int maxstage) {
        this.maxstage = maxstage;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getHeadURL() {
        return headURL;
    }

    public void setHeadURL(String headURL) {
        this.headURL = headURL;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    @Override
    public String toString() {
        return "User{" +
                "openid='" + openid + '\'' +
                ", nickname='" + nickname + '\'' +
                ", sex=" + sex +
                ", headURL='" + headURL + '\'' +
                ", city='" + city + '\'' +
                ", province='" + province + '\'' +
                ", country='" + country + '\'' +
                ", currentstage=" + currentstage +
                ", maxstage=" + maxstage +
                '}';
    }
}
